package com.bestillet.defaultmultishop;

import java.util.ArrayList;

public class MixGroup extends Mix {
	private ArrayList<Mix> mix;
	
	private int amount;
	
	public MixGroup(String name, String text, int idx, int type, int amount) {
		super(name, text, true, idx, type, 0);
		this.amount = amount;
		mix = new ArrayList<Mix>();
	}
	
	public MixGroup() {
		super();
		mix = new ArrayList<Mix>();
		setHeader(true);
	}

	public int getAmount() {
		return amount;
	}

	public void setAmount(int amount) {
		this.amount = amount;
	}
	
	public ArrayList<Mix> getMix() {
		return mix;
	}
	
	public void addMix(Mix m) {
		mix.add(m);
	}
	
	public void removeMix(Mix m) {
		mix.remove(m);
	}
}